<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
*
  {  
     margin: 0px; 
     padding: 0px
  }
#nav
  { 
     background-color:#eee; 
     width:100%; 
     height: 430px;
      margin:0 auto;
  }
ul
  {
     list-style: none;
  }
ul li
  {
     float: bottom; 
     line-height:40px;
     text-align:center; 
     position: relative;
  }
a
  {
     text-decoration: none; 
     color:black; 
     display: block; 
     padding:0 10px;
  }
a:HOVER 
  {   
     color: #FFF; 
     background-color: #666;
  }
ul li ul li
  { 
     float:none; 
     background-color: #FFF; 
     margin-top: 2px;
  }
ul li ul
  { 
     position: relative; 
     left:px; top:2px; 
     display: none;
  }
ul li ul li a:HOVER 
  {
     background-color: #06F;
  }
ul li:HOVER ul
  {
     display:block;
  }
</style>
</head>
<body>
<div id ="nav">
  <ul>
    <li><a href="">首页</a></li>
    <li><a href="./user" target="content">学生信息</a>
       <ul>
         <li><a href="#">用户姓名</a></li>
         <li><a href="#">联系电话</a></li>
       </ul>
    </li>
  </ul>

</div>
</body>
</html>